package com.linkage.lcims.base.service.business.interfaces;

import java.util.List;

import com.linkage.lcims.base.AdminBean;
import com.linkage.lcims.base.po.business.BdGroupAccessAttr;
import com.linkage.lcims.base.po.business.BdGroupAuth;
import com.linkage.lcims.base.po.business.BdGroupId;
import com.linkage.util.exception.ServiceException;

public interface GroupIDBO {
	public String getMessage();

	public boolean modInit(BdGroupId group, AdminBean admin)
			throws ServiceException;

	public boolean statusInit(BdGroupId group, AdminBean admin)
			throws ServiceException;

	public boolean delInit(BdGroupId group, AdminBean admin)
			throws ServiceException;

//	public boolean modSelect(BdGroupId group, AdminBean admin)
//			throws ServiceException;

//	public boolean delSelect(BdGroupId group, AdminBean admin)
//			throws ServiceException;

	public boolean delSubmit(BdGroupId group, AdminBean admin)
			throws ServiceException;
//
//	public boolean statusSelect(BdGroupId group, AdminBean admin)
//			throws ServiceException;

	public boolean addSubmit(BdGroupId group, AdminBean admin) throws ServiceException;
	
	public boolean addValid(BdGroupId group, AdminBean admin) throws ServiceException;

	public boolean modValid(BdGroupId group, AdminBean admin)
			throws ServiceException;

	public boolean modSubmit(BdGroupId group, AdminBean admin)
			throws ServiceException;

	public boolean statusSubmit(BdGroupId group, AdminBean admin)
			throws ServiceException;

	public BdGroupId getBdGroupId(Integer groupid) throws ServiceException;
	
	public BdGroupId getBdGroupIdByName(String groupName) throws ServiceException;
	
	public List<BdGroupId> getGroupIdList(Integer Id, String Name, String areano,
			int opeflag, String serviceType) throws ServiceException;
	
//    public Integer getMaxRecordid(Integer groupid) throws ServiceException;
	
	public boolean isExistRecords(Integer groupid) throws ServiceException;
	
//    public Integer getMaxPriority(Integer groupid, Integer recordid) throws ServiceException;
//	
	public void saveGroupAuth(BdGroupAuth groupAuth) throws ServiceException;
	
	public void saveGroupAccessAttr(BdGroupAccessAttr groupAttr) throws ServiceException;
}
